package org.jeecg.modules.kuner.usertakecollectionbase.service;



import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.kuner.userpointstatement.vo.AskTakeIncomeVO;
import org.jeecg.modules.kuner.usertakecollectionbase.entity.SdUserTakeCollectionBase;
import org.jeecg.modules.kuner.usertakecollectionbase.vo.JudgeTakeCollectionVO;

import java.math.BigDecimal;

/**
 * @Description: 提现审核记录
 * @Author: jeecg-boot
 * @Date: 2024-10-28
 * @Version: V1.0
 */
public interface ISdUserTakeCollectionBaseService extends IService<SdUserTakeCollectionBase> {

    /**
     * 根据用户信息获取总收益
     *
     * @param userId 用户信息
     * @return 查询出来的总收益
     */
    BigDecimal getIncomeCountByUserId(String userId);

    /**
     * 申请提现
     *
     * @param askTakeIncomeVO 申请提现必要的参数信息
     */
    void askTakeIncome(AskTakeIncomeVO askTakeIncomeVO);


    /**
     * 审核提现集
     *
     * @param judgeTakeCollectionVO 审核体现及必要的参数信息
     */
    void judgeTakeCollection(JudgeTakeCollectionVO judgeTakeCollectionVO);
}
